package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)" json:"Username"`
	Password string `gorm:"type:varchar(32)" json:"Password"`
}

type Book struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50)" json:"Title"`
	Content string `gorm:"type:varchar(50)" json:"Content"`
}
